package com.smt.take.model.beans

import com.j256.ormlite.field.DatabaseField
import com.j256.ormlite.table.DatabaseTable

@DatabaseTable(tableName = "t_user")
class UserBean {
    @DatabaseField(columnName = "balance")
    var balance: String = ""

    @DatabaseField(columnName = "phone")
    var phone: String = ""

    @DatabaseField(columnName = "integral")
    var integral: String = ""

    @DatabaseField(columnName = "name")
    var name: String = ""

    @DatabaseField(columnName = "discount")
    var discount: String = ""

    @DatabaseField(id = true) // 1.自动增长（generateId = true） 2.指定id id = true
    var id: Int = 0
}